FROM registry.cn-hangzhou.aliyuncs.com/yinzhengjie-k8s/apps:v1
 
WORKDIR /app
 
ENV SERVER_IP 10.0.0.111
ENV SERVER_PORT 8082
 
COPY dist /usr/share/nginx/html
COPY default.conf /etc/nginx/conf.d/default.conf
COPY entry.sh /entry.sh
 
RUN chmod +x /entry.sh
EXPOSE 80
 
CMD ["/bin/sh", "/entry.sh"]
